package com.ysd.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("student")
@ApiModel(value = "学生信息")
public class SysStudent {
    @TableId
    private Long id;

    @ApiModelProperty("身份证号码")
    private String cardId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("学校名称")
    private Integer schoolId;
    private String schoolName;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("密码")
    private String pwd;

    @ApiModelProperty("班级名称")
    private Integer classId;
	/* @TableField(exist = false) */
    private String className;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("入校时间")
    private String startDate;

    @ApiModelProperty("排名")
    private String ranking;

    @ApiModelProperty("正在学习的课程")
    private Integer courseId;
    private String courseName;


}
